package appapi.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import appapi.dao.EquipRuntimeMapper;
import appapi.entity.Zhongjiao.EquipRuntimeEntity;
import appapi.service.EquipRuntimeService;
/**
 * @author  djq
 * @date 2023/8/10 14:47
 * @description: 
 */

@Service
public class EquipRuntimeServiceImpl implements EquipRuntimeService{

    @Resource
    private EquipRuntimeMapper equipRuntimeMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return equipRuntimeMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(EquipRuntimeEntity record) {
        return equipRuntimeMapper.insert(record);
    }

    @Override
    public int insertSelective(EquipRuntimeEntity record) {
        return equipRuntimeMapper.insertSelective(record);
    }

    @Override
    public EquipRuntimeEntity selectByPrimaryKey(Long id) {
        return equipRuntimeMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(EquipRuntimeEntity record) {
        return equipRuntimeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(EquipRuntimeEntity record) {
        return equipRuntimeMapper.updateByPrimaryKey(record);
    }

}
